package com.framework.loippi.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.framework.loippi.dao.BbsFileDao;
import com.framework.loippi.entity.BbsFile;
import com.framework.loippi.service.BbsFileService;
import java.util.List;
/**
 * SERVICE - BbsFile(论坛发布记录文件表)
 * 
 * @author wmj
 * @version 2.0
 */
@Service
public class BbsFileServiceImpl extends GenericServiceImpl<BbsFile, Long> implements BbsFileService {
	
	@Autowired
	private BbsFileDao bbsFileDao;
	
	
	@Autowired
	public void setGenericDao() {
		super.setGenericDao(bbsFileDao);
	}

	public List<BbsFile> findListByPage(Object parameter){
		return bbsFileDao.findListByPage(parameter);
	}

	public Long deletes(Object parameter){
		return bbsFileDao.deletes( parameter);
	}

	@Override
	public List<String> findFileByBbsId(Long BbsId) {
		return bbsFileDao.findFileByBbsId(BbsId);
	}


}
